package com.gzq.repository;

import com.gzq.entity.IndexPropaganda;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface PropagandaDao extends CrudRepository <IndexPropaganda,Long>{
    public IndexPropaganda findById(Long id);
    public List<IndexPropaganda> findAll();
}
